var App = angular.module('danger', []);

App.config(require('./router'));

//service
App.factory('dangerservice', require('./service'));

//Controllers
//货源企业订单列表
App.controller('hy_order_list', require('./controllers/hy_order_list'));
//货源企业订单修改
App.controller('hy_order_modify', require('./controllers/hy_order_modify'));
//车辆企业订单列表
App.controller('cq_order_list', require('./controllers/cq_order_list'));
//监管部门订单列表
App.controller('jg_order_list', require('./controllers/jg_order_list'));
//平台订单列表
App.controller('pf_order_list', require('./controllers/pf_order_list'));
//订单详情
App.controller('order_info', require('./controllers/order_info'));
//我要用车
App.controller('place_order', require('./controllers/place_order'));
//筛选车辆列表
App.controller('choose_car_list', require('./controllers/choose_car_list'));
//车企车辆列表
App.controller('cq_car_list', require('./controllers/cq_car_list'));
//车企驾驶员列表
App.controller('cq_driver_list', require('./controllers/cq_driver_list'));
//车辆列表
App.controller('car_list', require('./controllers/car_list'));
//货源企业列表
App.controller('hy_company_list', require('./controllers/hy_company_list'));
//车辆企业列表
App.controller('cl_company_list', require('./controllers/cl_company_list'));
//财务审核列表
App.controller('financial_audit_list', require('./controllers/financial_audit_list'));
//添加车辆
App.controller('add_car', require('./controllers/add_car'));
// 车辆详情
App.controller('carinfo', require('./controllers/carinfo'));
//添加驾驶员
App.controller('add_driver', require('./controllers/add_driver'));
//企业详情
App.controller('enterprise_info', require('./controllers/enterprise_info'));
//车辆详情列表
App.controller('car_info_list', require('./controllers/car_info_list'));
// 更换车辆
App.controller('change_car', require('./controllers/change_car'));
// 子账号管理
App.controller('user_manage', require('./controllers/user_manage'));



module.exports = App;